/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class AiDetailItem {
    private final int changeChatTime;
    private final int id;
    @NotNull
    private final String reason;
    private final int typeId;
    @NotNull
    private final String typeName;
    @NotNull
    private final String updateTime;

    public AiDetailItem(int i2, @NotNull String reason, int i3, @NotNull String updateTime, int i4, @NotNull String typeName) {
        Intrinsics.checkNotNullParameter(reason, "reason");
        Intrinsics.checkNotNullParameter(updateTime, "updateTime");
        Intrinsics.checkNotNullParameter(typeName, "typeName");
        this.id = i2;
        this.reason = reason;
        this.changeChatTime = i3;
        this.updateTime = updateTime;
        this.typeId = i4;
        this.typeName = typeName;
    }

    public static /* synthetic */ AiDetailItem copy$default(AiDetailItem aiDetailItem, int i2, String str, int i3, String str2, int i4, String str3, int i5, Object obj) {
        if ((i5 & 1) != 0) {
            i2 = aiDetailItem.id;
        }
        if ((i5 & 2) != 0) {
            str = aiDetailItem.reason;
        }
        if ((i5 & 4) != 0) {
            i3 = aiDetailItem.changeChatTime;
        }
        if ((i5 & 8) != 0) {
            str2 = aiDetailItem.updateTime;
        }
        if ((i5 & 16) != 0) {
            i4 = aiDetailItem.typeId;
        }
        if ((i5 & 32) != 0) {
            str3 = aiDetailItem.typeName;
        }
        return aiDetailItem.copy(i2, str, i3, str2, i4, str3);
    }

    public final int component1() {
        return this.id;
    }

    @NotNull
    public final String component2() {
        return this.reason;
    }

    public final int component3() {
        return this.changeChatTime;
    }

    @NotNull
    public final String component4() {
        return this.updateTime;
    }

    public final int component5() {
        return this.typeId;
    }

    @NotNull
    public final String component6() {
        return this.typeName;
    }

    @NotNull
    public final AiDetailItem copy(int i2, @NotNull String reason, int i3, @NotNull String updateTime, int i4, @NotNull String typeName) {
        Intrinsics.checkNotNullParameter(reason, "reason");
        Intrinsics.checkNotNullParameter(updateTime, "updateTime");
        Intrinsics.checkNotNullParameter(typeName, "typeName");
        return new AiDetailItem(i2, reason, i3, updateTime, i4, typeName);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof AiDetailItem)) {
            return false;
        }
        AiDetailItem aiDetailItem = (AiDetailItem) obj;
        return this.id == aiDetailItem.id && Intrinsics.areEqual(this.reason, aiDetailItem.reason) && this.changeChatTime == aiDetailItem.changeChatTime && Intrinsics.areEqual(this.updateTime, aiDetailItem.updateTime) && this.typeId == aiDetailItem.typeId && Intrinsics.areEqual(this.typeName, aiDetailItem.typeName);
    }

    public final int getChangeChatTime() {
        return this.changeChatTime;
    }

    public final int getId() {
        return this.id;
    }

    @NotNull
    public final String getReason() {
        return this.reason;
    }

    public final int getTypeId() {
        return this.typeId;
    }

    @NotNull
    public final String getTypeName() {
        return this.typeName;
    }

    @NotNull
    public final String getUpdateTime() {
        return this.updateTime;
    }

    public int hashCode() {
        return (((((((((this.id * 31) + this.reason.hashCode()) * 31) + this.changeChatTime) * 31) + this.updateTime.hashCode()) * 31) + this.typeId) * 31) + this.typeName.hashCode();
    }

    @NotNull
    public String toString() {
        return "AiDetailItem(id=" + this.id + ", reason=" + this.reason + ", changeChatTime=" + this.changeChatTime + ", updateTime=" + this.updateTime + ", typeId=" + this.typeId + ", typeName=" + this.typeName + ')';
    }
}